package com.tyk.bookstore.back.comment.model.query;


import com.tyk.bookstore.back.common.core.model.page.PageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author tyk
 * @description 评论
 */
@Data
public class CommentPageQuery extends PageQuery {

    @Schema(description = "关键词")
    private String keyword;

    @Schema(description = "会员昵称")
    private String nickname;

    @Schema(description = "订单编号")
    private String orderNo;

    @Schema(description = "书籍编号")
    private String bookNo;

    @Schema(description = "评价等级：起始")
    private Long starFrom;

    @Schema(description = "评价等级：终止")
    private Long starTo;

    @Schema(description = "评论时间：起始")
    private LocalDateTime createTimeFrom;

    @Schema(description = "评论时间：终止")
    private LocalDateTime createTimeTo;

}
